/**
 * Created by 123456 on 2016/10/31.
 */
/**
 * Created by yangfan on 2016/10/13.
 */
define(["business/services/constant"], function (constant) {
    var workSkill_url = constant.config.BASEURL_WorkSkill;//Ip
    var postbar_url =  constant.config.BASEURL_BOSTBAR;//热门课程Ip
    var workSkill_Com = constant.config.CONSTANT_WorkSkill;//公共的链接
    var workCata = constant.config.CONSTANT_WorkSkillcata;//目录
    var workListCon = constant.config.CONSTANT_WorkSkillListCon//默认列表内容
    var postBar = constant.config.CONSTANT_BOSTBAR;//热门回答
    return {
        getDownd:function(requestion){
            return constant.httpSend(workSkill_url,workSkill_Com,requestion);
        },
        oneClass:function(requestion){
            return constant.httpSend(workSkill_url,workCata,requestion);
        },
        getCOnlist:function(requestion){
            return constant.httpSend(workSkill_url,workListCon,requestion);
        },
        gethot:function(requestion){
            return constant.httpSend(postbar_url,postBar,requestion);
        },
        getConctent:function(requestion){
            return constant.httpSend(workSkill_url,workSkill_Com,requestion);
        },
        gethotSerch:function(requestion){
            return constant.httpSend(workSkill_url,workSkill_Com,requestion)
        }
    }
});

